Optimal. Leaf size=107 \[ -\frac{2 \left (\frac{1}{4} \left (4 a-\frac{b^2}{c}\right )+\frac{(b+2 c x)^2}{4 c}\right )^{p+1} (b d+2 c d x)^{m+1} \, _2F_1\left (1,\frac{1}{2} (m+2 p+3);\frac{m+3}{2};\frac{(b+2 c x)^2}{b^2-4 a c}\right )}{d (m+1) \left (b^2-4 a c\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.074085, antiderivative size = 102, normalized size of antiderivative = 0.95, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {694, 365, 364} \[ \frac{\left (a+b x+c x^2\right )^p \left (1-\frac{(b+2 c x)^2}{b^2-4 a c}\right )^{-p} (d (b+2 c x))^{m+1} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};\frac{(b+2 c x)^2}{b^2-4 a c}\right )}{2 c d (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 694
Rule 365
Rule 364
Rubi steps
\begin{align*} \int (b d+2 c d x)^m \left (a+b x+c x^2\right )^p \, dx &=\frac{\operatorname{Subst}\left (\int x^m \left (a-\frac{b^2}{4 c}+\frac{x^2}{4 c d^2}\right )^p \, dx,x,b d+2 c d x\right )}{2 c d}\\ &=\frac{\left (2^{-1+2 p} \left (a+b x+c x^2\right )^p \left (4+\frac{(b d+2 c d x)^2}{\left (a-\frac{b^2}{4 c}\right ) c d^2}\right )^{-p}\right ) \operatorname{Subst}\left (\int x^m \left (1+\frac{x^2}{4 \left (a-\frac{b^2}{4 c}\right ) c d^2}\right )^p \, dx,x,b d+2 c d x\right )}{c d}\\ &=\frac{2^{-1+2 p} (d (b+2 c x))^{1+m} \left (a+b x+c x^2\right )^p \left (4-\frac{4 (b+2 c x)^2}{b^2-4 a c}\right )^{-p} \, _2F_1\left (\frac{1+m}{2},-p;\frac{3+m}{2};\frac{(b+2 c x)^2}{b^2-4 a c}\right )}{c d (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0606184, size = 107, normalized size = 1. \[ \frac{2^{-2 p-1} (b+2 c x) (a+x (b+c x))^p \left (\frac{c (a+x (b+c x))}{4 a c-b^2}\right )^{-p} (d (b+2 c x))^m \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};\frac{(b+2 c x)^2}{b^2-4 a c}\right )}{c (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.272, size = 0, normalized size = 0. \begin{align*} \int \left ( 2\,cdx+bd \right ) ^{m} \left ( c{x}^{2}+bx+a \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (2 \, c d x + b d\right )}^{m}{\left (c x^{2} + b x + a\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (2 \, c d x + b d\right )}^{m}{\left (c x^{2} + b x + a\right )}^{p}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (2 \, c d x + b d\right )}^{m}{\left (c x^{2} + b x + a\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]